multi-arch-test-build: run it only after the Formality check succeeds
authorJosef Schlehofer <[email protected]>
Fri, 3 Oct 2025 09:34:46 +0000 (11:34 +0200)
committerJosef Schlehofer <[email protected]>
Tue, 21 Oct 2025 23:44:45 +0000 (01:44 +0200)
commitb021aba0b4dedefafc08a793986ebeed16f86702
tree8303f4fc2fe588b9ff2fb5a223577d274c3f4795
parentef893976e746ba568a454214fe8e5fbbe3c3e5ed
multi-arch-test-build: run it only after the Formality check succeeds

Most of the time, when people contribute to the repository for the first time
 (or after a longer break), the multi-arch-test-build passes, but the
formality check fails and requires the contributor to make some changes.

This creates unnecessary load on the CI/CD, since the multi-arch-test-build
runs again even though it already passed, while other PRs are waiting for a runner.
Hopefully, this change will help decrease the waiting time.

Proposed changes:

- Run the formality check first, and only trigger the package tests afterwards.
This can be done using needs: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idneeds

- Merge formal.yml into multi-arch-test-build.yml so that needs can be used.

Signed-off-by: Josef Schlehofer <[email protected]>
(cherry picked from commit 4474f539bb737d5c333ea58c4b9176857fd77e14)
.github/workflows/formal.yml [deleted file]
.github/workflows/multi-arch-test-build.yml